﻿<%@ Page Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="PackageProductSNforPrinter.aspx.cs" Inherits="ProductPackage_PackageProductSNforPrinter" Title="导出最近包装成品序列号" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
<div>
        <br />
        <div style="float:left; width: 889px;">
    <table style="width: 100%">
        <tr>
            <td colspan="2">
                <asp:Label ID="Label3" runat="server" Text="请输入要查询成品序列号的数量："></asp:Label>
                <asp:TextBox ID="TextBox3" runat="server" Height="20px" Width="210px"></asp:TextBox>                
                <asp:RangeValidator ID="RangeValidator1" runat="server" 
                    ControlToValidate="TextBox3" ErrorMessage="*" MaximumValue="100" 
                    MinimumValue="0" ValidationGroup="VGroup1" Type="Integer"></asp:RangeValidator>
            </td>
        </tr>
        <tr>
            <td style="width: 444px">
                <asp:Label ID="Label1" runat="server" Text="请选择要查询的客户名称："></asp:Label>
                <asp:DropDownList ID="DropDownList1" runat="server" Height="20px" Width="215px" 
                    onselectedindexchanged="DropDownList1_SelectedIndexChanged" 
                    AutoPostBack="True">
                </asp:DropDownList>
            </td>
            <td style="width: 445px">
                <asp:Label ID="Label2" runat="server" Text="请选择要查询的产品名称："></asp:Label>
                <asp:DropDownList ID="DropDownList2" runat="server" Height="20px" Width="225px">
                </asp:DropDownList>
            </td>
        </tr>
    </table>
    </div> 
        <div style="float:left;clear:right; height: 38px; width: 145px;">
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Button ID="Button1" runat="server" Text="查 询" onclick="Button1_Click" 
                ValidationGroup="VGroup1" />
        </div> 
    <div style="float:left; clear:left; text-align:center; width:100%;">
        <br />
        <asp:Label ID="Label5" runat="server" Text="查询结果：" Width="162px"></asp:Label>
        <br />
        <br />
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            BackColor="White" BorderColor="White" BorderStyle="Ridge" BorderWidth="2px" 
            CellPadding="3" CellSpacing="1" GridLines="None" Width="247px" 
            EmptyDataText="没有相关数据！">
            <FooterStyle BackColor="#C6C3C6" ForeColor="Black" />
            <RowStyle BackColor="#DEDFDE" ForeColor="Black" />
            <Columns>
                <asp:BoundField DataField="PackageProductSN" HeaderText="成品序列号" />
            </Columns>
            <PagerStyle BackColor="#C6C3C6" ForeColor="Black" HorizontalAlign="Right" />
            <SelectedRowStyle BackColor="#9471DE" Font-Bold="True" ForeColor="White" />
            <HeaderStyle BackColor="#4A3C8C" Font-Bold="True" ForeColor="#E7E7FF" />
        </asp:GridView>
        <br />
        <br />
        <br />
    </div>
 
</asp:Content>

